﻿using System;
using System.Collections.Generic;
using System.ComponentModel.Composition;
using System.ComponentModel.Composition.Hosting;
using System.ComponentModel.Composition.Primitives;
using System.Linq;
using System.Text;

namespace Snowdreamist.ComponentModel.Plugin
{
    public class UndeterminedPluginsEventArgs : EventArgs
    {
        public UndeterminedPluginsEventArgs(IEnumerable<IPluginDefinition> pluginDefinitions, ContractMetadata metadata)
        {
            this.Plugins = pluginDefinitions;
            this.Metadata = metadata;
            this.SelectedPlugins = pluginDefinitions;
        }

        public IEnumerable<IPluginDefinition> Plugins { get; private set; }

        public ContractMetadata Metadata { get; private set; }

        public IEnumerable<IPluginDefinition> SelectedPlugins { get; set; }
    }
}